package com.share.example.selenium.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.common.common.Page;
import com.share.example.selenium.model.amazon.seller.ClosePromoteForm;
import com.share.example.selenium.model.amazon.seller.PromoteForm;
import com.share.example.selenium.model.amazon.seller.PromoteTask;
import com.share.example.selenium.model.db.PromoteDetail;
import com.share.example.selenium.model.vo.PromoteDetailPageReq;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author author
 * @since 2023-10-18
 */
public interface IPromoteDetailService extends IService<PromoteDetail> {

    int insertCreatePromotion(String batchId, PromoteTask task, PromoteForm promotion);

    int insertClosePromotion(String batchId, ClosePromoteForm form, boolean re, String errMsg);

    Page pageList(PromoteDetailPageReq req);
}
